﻿@using CoralNode.MvcClient.Helper
@using Coralcode.Utils.Basic
@model CoralNode.Core.Entity.Domains.Site.MenuGroupDomain

@{
    ViewBag.Title = "Edit";
}
@Html.IncludePage("CoralAdmin/prototype", "_Left",new{current="menu"})
<div id="pbody">
    <div class="extra">
        <div class="pbody_top">
            <span class="ico ico_setting_system"></span><span class="t t_c">菜单设计&nbsp;&nbsp;/&nbsp;&nbsp;<b
                class=" t_small f_no">编辑菜单组</b></span>
        </div>
        <div id="main">
            <div class="content_tab extra_normal">
                <a href="/m/menu/listMenuGroup" class="ico ico_back btn f_r mt_1 mr_1"></a>
                <div class="tablist extra_normal" data-js="tab">
                    <a href="#">主要信息</a>
                </div>
            </div>
            <form id="spform" action="/m/menu/editMenuGroup/@Model.Id" method="post" enctype="multipart/form-data">
                @if (@ViewBag.Msg != null)
                {
                    <div class="error_msg">
                        @ViewBag.Msg.Msg
                    </div>
                }
                <div class="pt_3 js_tabcnt">
                    <div class="table_form form_main ">
                        <div class="pl_2 pb_3">
                            @Html.AntiForgeryToken()
                            @Html.ValidationSummary(true)
                            <table>
                                <tbody>
                                    <tr>
                                        <th width="80">菜单组名称<span class="rq">*</span></th>
                                        <td>
                                            @Html.TextBoxFor(m => m.Title, new { @class = "text w_37 required", @topinyin = "#Slug" })
                                            @Html.HiddenFor(m=>m.Id)
                                        </td>
                                    </tr>
                                    <tr>
                                        <th width="60">菜单组别名<span class="rq">*</span></th>
                                        <td>
                                            @Html.TextBoxFor(m => m.Slug, new { @class = "text w_37 required" })
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>菜单组描述</th>
                                        <td>
                                            @Html.TextBoxFor(m => m.Description, new { @class = "text w_37" })
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="submitbox p_2 extra_normal">
                    <input type="submit" class="btn_1" value="提    交" />
                </div>
            </form>
        </div>
    </div>
</div>

